can now read in csv properly, also outputs to standard out as a testing feature