Error code trying to upload something to the MKR WiFi 1010

Hey everybody! It’s my first time posting on the forum, so sorry if my post is shabby!

I’m using an Arduino MKR WiFi 1010 and I’m trying to connect it to a Hotspot generated through my phone.
I’m using this tutorial I found on the Arduino Website: https://www.arduino.cc/en/Guide/MKRWiFi1010/connecting-to-wifi-network

I get an error message which I don’t really understand. I tried looking it up, but wasn’t able to find anything useful to help me. I think somethings wrong with the libraries I’m using, so I uninstalled them and reinstalled them twice. Same goes for the Firmware for the WiFiNina. I also tried reinstalling the SAMD Board drivers, but nothing changed.

So my question is how can I fix this error and get my board up and running?

Here’s the error message I’m getting:

In file included from C:\Users\lezai\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino/delay.h:23:0,
from C:\Users\lezai\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\cores\arduino/Arduino.h:81,
from sketch\wifi.ino.cpp:1:
C:\Users\lezai\Documents\Arduino\wifi\wifi.ino: In function ‘void setup()’:
C:\Users\lezai\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.9\variants\mkrwifi1010/variant.h:222:37: error: expected ‘)’ before ‘SerialUSB’
#define Serial SerialUSB
^
C:\Users\lezai\Documents\Arduino\wifi\wifi.ino:16:5: note: in expansion of macro ‘Serial’
Serial.println(ssid);
^~~~~~
exit status 1
Error compiling for board Arduino MKR WiFi 1010.

and here’s my current version of the code I’m using:

#include <WiFiNINA.h>
#include "arduino_secrets.h"

char ssid[] = SECRET_SSID;
char pass[] = SECRET_PASS;
int status = WL_IDLE_STATUS;

void setup() 
{
  Serial.begin(9600);
  while(!Serial);
  
  while(status != WL_CONNECTED)
  {
    Serial.print("Attempting to connect to network:"
    Serial.println(ssid);
    status = WiFi.begin(ssid,pass);
    delay(10000);
  }
  Serial.println("You're connected to the network");
  Serial.println("_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_");
  printData();
  Serial.println("_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_");
}

void loop() 
{
 delay(10000);
 printData();
 Serial.println("----------------------------------------"); 
}

void printData() {
  Serial.println("Board Information:");
  IPAddress ip = WiFi.localIP();
  Serial.print("IP Address: ");
  Serial.println(ip);

  Serial.println();
  Serial.println("Network Information:");
  Serial.print("SSID: ");
  Serial.println(WiFi.SSID());

  long rssi = WiFi.RSSI();
  Serial.print("signal strength (RSSI):");
  Serial.println(rssi);

}
//This is the code contained inside of "arduino_secrets.h"
#define SECRET_SSID "MyNameJeff"
#define SECRET_PASS "SlopTop2000"

Serial.print("Attempting to connect to network:" Oops

Oh yeah hehe
forgot the bracket and semicolon there, it works now.
Thanks a lot!