copy for testing