add documentation about printTo