Continue solving problem 7