Started working on a multi-output version of adhier