add findBlockByParentAndName method