improved a doctstring