level data functions