read coordinates