added in CRmock function,feature addition
added in CRmock function,feature addition