reducing lexer datatypes