trying new error handling order