adding docstrings

should fix travis-ci failure...