added root info to CM and properly commented it