working on CSV input