toString method added.