add more profiling