add coordinates method