small change to profiler for convenience