restructure so that multiple nodes could be used like the host for example