controller instead of config file