notes about error handling