Added docstrings. Clock fix still not working