listing_controller refactoring