initial code to check lexemes
initial lexemes from Philemon