Implemeted should filter function