add view & edit views