Added vars to know which type of node is