adapted form view to new model view