optimising CPU