Magnetic properties of Gd2Fe17Cx