finished the view elements of app.model