add log message for better diagnostics