copy of DEIS to debug some issues