working triangle example