add numcores preferences