Move common code to startNode()