having trouble with second and third question