simple templating
linked list updated
doubly linked list