tostring and print