Added level_data functions