add more complex filter functionality for workers