xp.getLevels() output saved in variable