added write up for trim and filtering