DArray implementation