Added editMode