add block support
Merge pull request #4 from seufagner/master

add block support