templatized linked list some more