solution to 5