error class added