added stock validation for blocks