c to core