this is using to test_rep