completed demo 3 exercise 1