work on problems 4 and 90