replacing GetLex