update to change text% hash to hash of strings