Added function 'assemble()'