now, also repeatings will be handled