added profiler for initialization