problem 11, 12 done