Adding new generate kernel