implemented a debug function to see the demux table