re-added trim()