create CSV working better