working on clipping