for filter and csv