changing error handling logic