improvements to example app