added xvars to the cfl code