dlist example updated