removed code from profiler module