added spinner for loading of nodes