removed a few debug prints