Added ability for triple edges