changed all macro/function comments to docstrings