working view and model connection