project3 problem 8