Remove unnecessary temporary variable
Allow arbitrary links too