add logging and quick filter