completed problem 23 and 25