docstrings added for apriori