flight class and toolbox