basic function for core and crm