Generator is run