error handling structure ready