added toSTring and document
add documents and added toMap()