Toward rewiring batch operations. Work in progress, inconsitent TDB