Added in determining level from player profile