first working version of app