put nodes where there supposed to go