adding repeat plugin