A custom filter for repose