get array of coordinates