more pb support and example of usage added