replacing lib.rs