changed string.format(...) to string.chars(...)