slimmed down the running of the system in HomeController