cleaning up controllers.rs