Better method of calculating rank, adding to member list