prototype of node command