document .toString method