the root needs to be added right before the move