duplicate copy for testing