put states back into channel class