added config to the controller