Added switch case for cpu logic path