new and show method added