please add an empty line to differentiate between the "before filter" and the function in merging