make safeString method rather than property