finish functions other than next() in tokenizer