add model and custom view