toString Function Updated