now nodes will be removing and adding more correctly