If root is not 'random', the code won't assign the value of root to rootparams
If root is not 'random', the code won't assign the value of root to rootparams