add module comments and docstrings