re-add Cargo.lock and changed example code.