produced the bracket programatically