> def get_val(x): > # gets the value from SSMatrix, now dumb > return ord(x) The point is to sum the transitions *between* the characters and the matrix only contains those scores. So "getting the value from SSMatrix" for a single character makes no sense (and is impossible). Nicky