add model and view