Implemented Mercury Gem