allow for error handling