made id in the core to be optional