using getRawData to deal with string