testing for how the program works