implemented ConstListNode() in a probably gross way