Refactor - use getcoord() in course setting.