extracting the core classes