finite difference formulation, prelim solver work