regenerate output