preliminary model and view