to test the program