Task 3 including all exceptions