finish problem 49