both basic.rs and simple.rs now work