Moved creation of nodes to Utils