changed inputpercentage