node inheritance