Finished recursion and tokenization