corrected class