ex6 exceptions done