continue solving problem 7