set up generate