test the program or save program