adding error_logger