problem 11, 12, 13 solved