defined a node clasS