trim added for comparisons