Added rank, player activity, moved functions