working on gmix models