print functions (to CSV) improved