Finish exercise5