adding relays