triangle trick