ex7 exceptions done