removed some debug prints.