took out debug code