add document for filterBy method