working on ascii and escape sequences