updated

updated some logic to stick to ASCII characters