save intermediate result