1) collect in out for function 2) convert funcinfo to label info. No testing yet