final version of app3