add filtering when adding ling