removed LogEvent - debugging tool only