define everything with GEM