added nodesChecked counter