triangle works