added ASCII support