use error_logger for debugging