moving on to problem 2