node functions.