laid groundwork for app