add x_clip modeled on new z_clip