modified goal_finder for slower reverse