added gem support