coords getter refactiorization