added docstrings, dropped dropdeg from io