first version of edit view