all CR functions fully work now