analyze csv first version working