updated Dedit (not working yet)