third version of app working