Added code for DUNE's inserter