add END to transaction