ported filter to new block format