change profiler to non-static class
change profiler to non-static class