made a tester function for me because I'm a horrible person