dryed up some of the cpu code