adds log message for debugging