constructing compNode at the start of the initialiization