completed exercise7.