Trying to solve problem 78 hmmmm