rank and challenge implemented