beginning of error handling, better test coverage