Wrote the Rank Up system