took out debug printing