Added debug vars... need to redesign profiler