changed get coordinates