use triangle as var rather than compute on statements