Adding generate.list