Changed error handling for correct output - step 2