Update main.rs

Because multi-dispatch is awesome! \o/