Close to having the function read in multiple inputs, still working on getOutput