ok
wrapped 3 parts of node def make creation into one functoin... encapsulating..