Adding first version of the program