trimming for tutorial