More work on problem 13