Given , a finite sequence with every belonging to the alphabet is called a word (or vector or message) of length over . Such a word can also be viewed as an element . A -ary code (over ) of length is just a subset . A (valid) codeword is an element of .