Generation of variables