introduced new method to get tokens from node. closes #27