solution to problem #9
solution to problem #10