started to add an edit mode