cpu.cpp working