updated profiling stub