for grp ranking and g_joindate