basics of processor class working