[wip] current goalplanner code