added tester code