added exercise 1a