//model and view