completed ex2, starting ex3