adding executeProgram.