some more refactoring to lists_controller