Added a profiler