removed stupid "days" in output
added docstrings