add multinomial domain fn