to string method and add value method written