Added multi-assembly writing