Implementing the list and show functions