completed exercise #4