solver works, rootfind works, sliding doesn't