added an example to test callbacks in stringparser