removed commented-out 'vertex-triangle' function