refactor of cpu options