working on problem 11