Took out instrumentation from plogg.cpp