still tweaking csv output