cloned example app from blai