Corrected throws implementation