implemented brocken block_scanning