Revised liquids code