combined trim operation