BracketFactory reimagined