we now trim all whitespace at the front and end of the list.