initialized exercise 3