problem4a check