Add docstring for top method