removing the deprecated  from main.rs