restructure cable_setup, add output curve to a set