slightly broken multioutput