just needs file output and testing now