Added a tester function