working on editing events