changed rankingvalue from enum to string