always trimming whitespace is simpler