added getInputValue()