removed unused debug prints