added an example for qdap that I can easily share with others