working to improve profiler