fabric for setting up new nodes
incorrect access to a dict
working version / major refactor