changed ids to classes for triangles