got initial line parsing working