code: int addElement(int list, int element) {
  		int head = m_lists.getField(list, 0);
  		int tail = m_lists.getField(list, 1);
  		int node = newNode_();
  		if (tail != nullNode()) {
  			assert (head != nullNode());
  			m_listNodes.setField(tail, 1, node);
  			m_lists.setField(list, 1, node);
  		} else {// empty list
  			assert (head == nullNode());
  			m_lists.setField(list, 0, node);
  			m_lists.setField(list, 1, node);
  		}
  
  		m_listNodes.setField(node, 0, element);
  		return node;
  	}
docs: the new