new file for relay control