Changed ProccesEdge in main