added getLocalAnchor