gives sentence