start of implementing CPU