make repeat array