Working with three phase transitions