def add_genre(dom):
mods_tag = get_mods_tag(dom)<EOL>matched_genres = [<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>]<EOL>genre = dom.find(<EOL>"<STR_LIT>",<EOL>fn=lambda x: x.getContent().lower().strip() in matched_genres<EOL>)<EOL>if not genre:<EOL><INDENT>genre_tag = dhtmlparser.HTMLElement(<EOL>"<STR_LIT>",<EOL>[dhtmlparser.HTMLElement("<STR_LIT>")]<EOL>)<EOL>insert_tag(genre_tag, dom.find("<STR_LIT>"), mods_tag)<EOL><DEDENT>
Add ``<mods:genre>`` with `electronic volume` content into
``<mods:originInfo``.