Fill in missing assemble() code