need to output tokenArray properly