added trim() to remove spaces before/after text