merge add and filter