inital impletation  of node functions(not complete)