ex2 exceptions done