use head() in exercise 2