still working on problem 8