draft pseudo csv parsing