changs to multinomial and debugging print commands