added default value for cpu