added gem metamagic