pull vlaue from input