problem 31 & fixed problem 11