Add rest of outputs and inputs