added label() function in Node interface