creating our own gem from ref e3070ed