using Apriori algorithm to mine association rules