working on the processing() and cpu() code