added completed exercise 4