Removed timer call from lexer function