refactoring blockType