added chaining of codeboxs to hardware output