added profiling blocks