Grid block semantic code