now how to add filtering to relations..