move stuff out of lexicon and into lexiconfn.