preserving next variable