user's error class added
tests passed