Add block function persuant to #88
Merge pull request #229 from thomas-p-wilson/feature-block-function

Add block function persuant to #88