got rid of debug prints