add toString function.