add docstrings to views