implement cpu command