implement the Node class, init