added partition filter functions