problem 5
#7