adding repeat