finish exercise 2.61 and 2.62