Solved problem eight