triangle. codes