changed error handling to end user