closes #98 implemented child block detection