added an example project and associated code available for download