trimming excess