begins problem 2