add logci to make csv