Set correct variable for relay method