working on the booz equation