initializing the core