add code for startup single node