ex3 exceptions done