getCoords() works correctly now