cleaner pointer and csv handling