added clipping path functionality