Merged your helper with mine

Merged them under instrumentation/helper.cpp