have initial version of program working