updated with tree tester