Adding xf generator