minor change in doc and improve __str__ method