actually return errors
Merge pull request #11 from KenanY/return-errors

actually return errors