finished problem 3, moving on to 4