rename Border to Direction