working running version

goes to the exact right value compared to paper