removed deprecated gem method