playing with d and gmix