Refactoring in Rust
shuttle.rs