progress on problem 8