trimming added as independent task