Avoiding not required temporary variable creation