add trimming example