Adding Q-Ary prior

Also see the interesting demo case for Q-ary !