Renamed str() to the more appropriate chr()