Add listing function to text interface