completed exercise5.4