now breaks horizontally and vertically independent of each other, with different boolean variables