typo fixed
toStr functions added