tostring-implementation