allow printing of objects with toString()