add example app
fix example for 0.2.x