add filtering to instrumentor