now dynamically creating relay controls