misc in plot ica code