it works but relays infinitely