pylint: fix commas
add docstrings