clamp and translate standalone