added clockwise traversing