distribution should be a scalarNode and not a integerNode