splices the mainbrace