Updated profiler example