Swap ways to obtain toString