Inside the loop access the value associated with the current character key.
character
Make sure to type cast[character].
cast[character]