ex3 updated