properly return errors
1.1