implemented a bit of DiracArrays