Initial rust version
Rust version now works