add function docstrings
ignore .swp