modification to list and show view