added gem stuff