add option for inserting information necessary for streaming duplicate marking