implements custom callback

- A callback can return additional data.
- nextToken() receives additional data.