added space
added docstrings to functions