Finish exercise5.6