initial version of node codes