completed front end for BracketDistTool