creating gmix classes