Second commit | checks closed brackets only