took out some debug code