Edit/view working