Added docstring for new functions