replanning works much better