I FIXED IT. I added brackets where i thought brackets were not needed