update to reflect __generate