small changes trimming