Something is wrong with the repeated function, or there is a type error
in my test.