changed generate successors