Add repeat-start and repeat-end