checkBlock refactored