adds computer closed state logic