first version of app working