Making logic for generating in progress