finished problem 04