added mixture example code