made adding and editing