added Gem class