write the first line with filter functions