change triangle gode, semantic code