Need to get any outstanding input prior to returning number.