added coordinate editing