Continued work on problem 1