first draft of entire app