permit filter test WIP