added debugging printing, modified tester, still debugging