add: delete a needless temporary variable