the core code