started work on problem 16