when converting object into string check for availability of `toString` method, and call it to get the portion.