add example app code