gave up on figuring out the stackoverflow when i still got it after copying the answer from the internet