initial parsing for imported csv