add double-linklist codes.