saving intermediate changes