new working code tokenizer done without test yet