ex1 exceptions done