added profiler printout