add split temporary variable refactoring