improve example app