work with all ascii input