Slaving circuit