listing nearby apartments from the database