adding relay