working on the editing layout