implemented valueAsString method