add profiling logs