in.length;

            lightUp({"unitFlag":"center","app":"gateway"},activeColor,0);
            for(let i = 0; i < num; i++){
                (function(i){setTimeout(function(){
                    let val = chain[i];
                    lightUp(val,activeColor,num-i)
                },interval*(num-i))})(i)
            }
        }

        function lightUp(val,activeColor,i) {
            let id = val.unitFlag + "-" + val.app;
            console.log(id)
            let elem = $("#" + id);
            el