created def for new ndoes