class exeption added