initial version of program