updated the input the programs