added Gem class.