first draft of eqns