my brackets are getting a bit confusing