first version of program