Repeats work again, and now with endings!