initial startup of PNR parsing, before realizing I need to throw it away and use OOP methods)