added checked way to obain sub blocks
Merge pull request #230 from thatsIch/checkedsubtype

added checked way to obain sub blocks