started implementing CPU stuff