added persistance of the program.