update to error handling