more work on all sorts of stuff. todo: enthalpy equations.