determination of coordinates