modified profiler