Added the latest version of the program for testing