added error_logger