two convenience functions, purchasesByPreference and playsByPreference, to make things easier