saving intermediate work