#177 parameterize categorial distribution