finish problem 41