Cleaned up cpu.c