equations from new ocelot code