using ascii instead of printing strings