work on addCable func