changed getValue(Char) to public