added brushing with clipping