reusing if save_intermediate only
Checking stuff