exercise 2: task a