Changing the method of entering quantity