An apparatus , comprising: an encoder , the encoder to receive image or video data , to encode the received image or video data and to provide a bitstream representing the image or video data , the encoder including a CABAC encoder , the CABAC encoder to receive a binary valued syntax element associated with a block (300; 302) of the image or video data to be encoded, and to encode, using a selected context model, the binary valued syntax element into coded bits for the bitstream , wherein the binary valued syntax element represents a tool flag indicating whether or not certain coding tool was employed to encode the block (300; 302) of the image or video data , wherein, for a block of the image or video data having an aspect ratio larger than 2 and to which the certain coding tool is applicable, a first context model for encoding the tool flag is selected from a group of one or more first context models, wherein, for a block of the image or video data having an aspect ratio less than or equal to 2 and to which the certain coding tool is applicable, a second context model for encoding the tool flag is selected from a group of one or more second context models, wherein the coding tool is a linear weighted intra prediction, LWIP, corresponding to a matrix-based intra prediction, MIP, of the versatile video coding, VVC, standard and the first context model includes an additional CABAC context for sending the tool flag for a block of the image or video data with an aspect ratio larger than 2, wherein • in case LWIP modes are not tested for the block with an aspect ratio larger than 2, the flag is always 0 and the additional CABAC context adapts towards a zero probability for sending a 1, and • in case LWIP modes are tested for the block with an aspect ratio larger than 2, the flag is 1 with a certain probability. an encoder , the encoder to receive image or video data , to encode the received image or video data and to provide a bitstream representing the image or video data , the encoder including a CABAC encoder , the CABAC encoder to receive a binary valued syntax element associated with a block (300; 302) of the image or video data to be encoded, and to encode, using a selected context model, the binary valued syntax element into coded bits for the bitstream , wherein the binary valued syntax element represents a tool flag indicating whether or not certain coding tool was employed to encode the block (300; 302) of the image or video data , wherein, for a block of the image or video data having an aspect ratio larger than 2 and to which the certain coding tool is applicable, a first context model for encoding the tool flag is selected from a group of one or more first context models, wherein, for a block of the image or video data having an aspect ratio less than or equal to 2 and to which the certain coding tool is applicable, a second context model for encoding the tool flag is selected from a group of one or more second context models, wherein the coding tool is a linear weighted intra prediction, LWIP, corresponding to a matrix-based intra prediction, MIP, of the versatile video coding, VVC, standard and the first context model includes an additional CABAC context for sending the tool flag for a block of the image or video data with an aspect ratio larger than 2, wherein • in case LWIP modes are not tested for the block with an aspect ratio larger than 2, the flag is always 0 and the additional CABAC context adapts towards a zero probability for sending a 1, and • in case LWIP modes are tested for the block with an aspect ratio larger than 2, the flag is 1 with a certain probability. • in case LWIP modes are not tested for the block with an aspect ratio larger than 2, the flag is always 0 and the additional CABAC context adapts towards a zero probability for sending a 1, and • in case LWIP modes are tested for the block with an aspect ratio larger than 2, the flag is 1 with a certain probability. <EOS>