added the profiling part