Use repeat helper instead of a hard-coded array.