add some node functions