More work on problem 3