before adding last edit