Finish basic rank functionality