Changing core to kernel