added some mixture model stuff