Cleaned up Cpu.ts