Step? operator [](int index) { if (index < 0 || index >= steps.length) { return null; } return steps[index]; }