took out debug print statements