toString() method optimization (?)