add coordinate difference