Added word trimming.