How to register a repeater