working, sensitive to stepsize