removed some debug prints