added docstring to some views