modified the gem.