adding duplicate check for cpu numbers