add cable func work