define toString method
define valueOf method