task 2 again using raise