use example app as foundation