separation of functions related to the lexical