First version of program is done