main program of cpu