removed some debug print statements