add trailing comma
add docstrings