add near-far modification