added check block logic1