worked on structure creation and generation