Generate list of variables