modify show method