added ref toString and valueof