changes to enter matching opening brackets and shit alternative