finished problem 151