added showEntries view destroyer as per best practices