Comedy itself is based upon very old principles of which I can readily name seven. They are, in short: the joke, exaggeration, ridicule, ignorance, surprise, the pun, and finally, the comic situation.
I thought research would be more glamorous, somehow. I'd give the librarian a secret code word and he'd give me the one book I needed and whisper the necessary page numbers. Like a speakeasy. With books.