adding subclass for Processor and making methods virtual