keep reading input buffer