* Define mktags() as a separate function
* Get rid of mkenv()