adding optional duplication of data for testing