changed sortedSetCard to use global userCount