bracket solution