WIP define generator