listings_controller refactoring 2