added clamps control