register the init call in cm