finished problem 07