started on the itemlvl and rarity functionality